package org.Modulo7;
import org.Modulo3.Configuracion;
import org.Modulo4.Autenticar;
import org.Modulo6.Buscar;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;


public class Principal7 extends Activity {
	
	private Configuracion c;
	
    /**
     * 
     * @param savedInstance
     */
    public void onCreate(Bundle savedInstance) {
            throw new UnsupportedOperationException();
    }

    /*public void enviarNotificacion() {
        if(checkConfig()){
        	//Se supone que lo haria Android
        	System.out.println("Enviar Notificacion");
        }
    }
    
    public boolean checkConfig(){
    	if(c == null && c instanceof Configuracion)
    		c = new Configuracion();
    	
    	return c.getNotificacion();
    }
    
    public void exec(){
    	Button b = new Button(this);
    	b.setOnClickListener(new OnClickListener() {
			
    		public void onClick(View arg0) {
				Autenticar a = new Autenticar();
				a.onCreateView();
			}
		});
    }
    
    public void execBuscar(){
    	Button b = new Button(this);
    	b.setOnClickListener(new OnClickListener() {
			
			public void onClick(View v) {
				Buscar search = new Buscar();
				search.Buscar();
			}
		});
    }
*/
}
